{% load render_bundle webpack_asset from webpack_loader %}
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>Example</title>
  </head>

  <body>
    <div id="react-app"></div>
    <a href="{% webpack_asset 'assets/js/resource.txt' %}">Download resource</a>
    {% render_bundle 'resources' 'js' %}
  </body>
</html>
